package com.kevin.himly.account.from.mapper;

import com.kevin.himly.account.from.entity.Account;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Repository
public interface AccountMapper {

    @Update("update account set balance = balance + #{balance} where id = #{id}")
    Long update(Account account);
}
